package com.yanyeori.framework.core.constant;

/**
 * 常量
 *
 * @author chenkuan 2020/7/29
 */
public interface BaseConstant {
    String FORMAT_DATE = "yyyy-MM-dd";
    String FORMAT_DATETIME = "yyyy-MM-dd HH:mm:ss";
    String FORMAT_DATETIME_MILL = "yyyy-MM-dd HH:mm:ss.SSS";

    String UTF_8 = "UTF-8";
    String CONTENT_TYPE_JSON = "application/json;charset=utf-8";

    String SIGN_COMMA = ",";
    String SIGN_VERTICAL = "|";
    String SIGN_UNDERLINE = "_";
    String SIGN_DASHED = "-";

    String TRACE_ID = "traceId";

    String HEADER_PRE = "X-";

    String TTL_EXECUTOR_SERVICE = "ttlExecutorService";
    String TTL_SCHEDULED_EXECUTOR_SERVICE = "ttlScheduledExecutorService";
}
